home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR02
/
DCGAMES1.ZIP
/
NEWGAME.ZIP
/
BEGGAR.SCR
< prev
next >
Wrap
Text File
|
1993-04-01
|
845b
|
32 lines
!
! Default Beggar script..
!
! (c) DC Software, 1992
!
! Pending Enhancements
!
! - This script has no voices. For an example of voices, look at
! MERCHANT.SCR and HEALER.SCR
!
!------------------------------------------------------------------------!
:@TALK ! Talk to the character !
!------------------------------------------------------------------------!
! First line of the text block is the greeting..
writeln( s1 );
L1 = select( "Give Money", "Leave" );
if L1 = 0 then
readtext( npc.text, random(15)+2 ); ! display one line (2-16) !
else
writeln( "Thanks for nothing.." );
if( group.gold > 50 ) then
dec( group.gold, random(50) );
else
dec( group.gold, group.gold );
endif;
writeln( "(the beggar bumps into you as you walk away..)" );
endif;
STOP;